Make sure we queue at least one resize. This fixes a problem with
authorMatthias Clasen <matthiasc@src.gnome.org>
Sat, 31 Jan 2009 02:21:27 +0000 (02:21 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 31 Jan 2009 02:21:27 +0000 (02:21 +0000)
       * gtk/gtktoolbar.c (slide_idle_handler): Make sure we queue
        at least one resize. This fixes a problem with toolitems remaining
        invisible when they shouldn't that was reported by Christian Weiske.

svn path=/trunk/; revision=22260

ChangeLog
gtk/gtktoolbar.c

index 627f6421ae2f9b0068614491ae8968c16cc0208a..f83bc9ecfd9d44445a72f9a8bcfea337de4b7646 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-01-30  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 359288 – Toolbar items are not shown after hiding
+
+       * gtk/gtktoolbar.c (slide_idle_handler): Make sure we queue
+       at least one resize. This fixes a problem with toolitems remaining
+       invisible when they shouldn't that was reported by Christian Weiske.
+
 2009-01-30  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
index ff4bda5f5fba909579d517992f7be1c4b6362b48..6b1f05323cef79a5766935ca13cb632e50c38411 100644 (file)
@@ -1205,6 +1205,8 @@ slide_idle_handler (gpointer data)
        }
     }
   
+  gtk_widget_queue_resize_no_redraw (GTK_WIDGET (toolbar));
+
   priv->is_sliding = FALSE;
   priv->idle_id = 0;